JavaScript

A5.d.date.relative.generatemonth Method

Syntax

A5.d.date.relative.generate.month(month)

Arguments

monthnumber

The delta in months between two dates.

Returns

monthstring

The correctly formatted representation of the delta in months.

Description

Method used to generate how months should be representation in a relative date. For example turning "1" into "1 month", and "3" into "3 months". See Date.toRelative.